// JS Example file

var globalVar;
/**
 * Constructor for <code>AjaxRequest</code> class
 * @param url the url for the request<p/>
 */
function AjaxRequest(url) {
	function local() {}
	var urls = [ "www.cnn.com", 5, globalVar];
	this.request = new XMLHttpRequest();
	url = url.replace(/^\s*(.*)/, "$1"); // skip leading whitespace
	/* check the url to be in urls */
	var a = "\u1111\z\n\u11";
	this.foo = new function() {};
	foo();
	#
	var hello = () => console.log("hello")}

@decorator()
class NameClass {
}
declare module name{
	declare export var exportedVar: string;
	declare export function exportedFunction(): void;
	declare export class ExportedClass {}
}
interface MyInterface { }
type FooBarAlias = string;
var x: MyInterface, y: string, z: FooBarAlias;

